import request from '@/utils/request'
// 获取广告列表 /manage/ads/getList get
export const reqAdsList=()=>{
    return request ({
        url:'/manage/ads/getList',
        method:'get'
    })
}

//删除row /manage/ads/delete get 
export const reqDeleteRow =(params)=>{
    return request ({
        url:'/manage/ads/delete',
        method:'get',
        params
    })
}

//添加文字连接诶 /manage/ads/addOne post
export const reqAddOneLink=(data)=>{
    return request ({
        url:'/manage/ads/addOne',
        method:'post',
        data
    })
}

//添加广告 /manage/ads/addOne post 
export const reqAddOneAds=(data)=>{
    return request ({
        url:'/manage/ads/addOne',
        method:'post',
        data
    })
}

//获取行信息 /manage/ads/getOne get 
export const reqGetOne =(params)=>{
    return request ({
        url:'/manage/ads/getOne',
        method:'get',
        params
    })
}

//更新广告 /manage/ads/updateOne  post 
export const reqUpdateOne =(data)=>{
   return request ({
    url:'/manage/ads/updateOne',
    method:'post',
    data
   })

}

//请求分页数据  /manage/ads/getList get 
export const reqGetPage =(params)=>{
    return request ({
     url:'/manage/ads/getList',
     method:'get',
     params
    })
 
 }